<?php
/**
 * Create by Phpstorm
 * User: Peco
 * Date: 2019/12/17
 * Time: 21:27
 */

namespace App\Http\Transformers\Pay;

use App\Models\UserAmount;
use League\Fractal\TransformerAbstract;

class UserAmountTransformer extends TransformerAbstract
{
    public function transform(UserAmount $userAmount)
    {
        $data = $userAmount->toArray();

        return $data;
    }
}
